package com.ds.infra.rpc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 作用：RPC消费者配置属性
 *
 * @author WeiShaoying
 */
@Data
@ConfigurationProperties(prefix = "rpc.consumer")
public class RpcConsumerProperties {

    private Integer timeout = 3000;

    private Integer retries = 0;

    private String serviceName;

    private String version = "1.0";
}
